package com.example.kotlin.lifecycle;

/**
 * @ClassName: Client
 * @Description: java类作用描述
 * @Author: chenmengjia
 * @Date: 2022/2/3 10:36
 */
public class Client {
   private static Client mInstance=null;

    private Client() {
    }

    public static Client getInstance() {
        if (mInstance == null) {
            synchronized (Client.class) {
                if (mInstance == null) {
                    return new Client();
                }
            }
        }
        return mInstance;
    }

}
